package com.amat0urheu.service;

import com.amat0urheu.pojo.ReturnRes;
import com.amat0urheu.pojo.UploadFile;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletResponse;


public interface UploadFileService extends IService<UploadFile> {

    ReturnRes selectAllExperimentFile(int pageSize, int pageNum);
    ReturnRes downloadFile(String fid, HttpServletResponse httpServletResponse);

    ResponseEntity<byte[]> downLoadExperimentFiles();
}
